package cjq.demo;

import org.junit.Test;

public class MyClass<T> {
    public void printT(T data){
        System.out.println(data.toString());
    }

    @Test
    public void test1(){
        MyClass<String[]> data = new MyClass<String[]>();
        data.printT(new String[]{"a","s"});
    }
}
